home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
indents.zip
/
makefile.gcc
< prev
next >
Wrap
Makefile
|
1993-05-30
|
1KB
|
44 lines
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted provided
# that the above copyright notice and this paragraph are duplicated in all
# such forms and that any documentation, advertising materials, and other
# materials related to such distribution and use acknowledge that the software
# was developed by the University of California, Berkeley. The name of the
# University may not be used to endorse or promote products derived from this
# software without specific prior written permission. THIS SOFTWARE IS
# PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
# @(#)Makefile 5.9 (Berkeley) 88/09/15
#
# Makefile for gcc under BSD UNIX. Peter Hadfield, May 1993.
CC= gcc
CFLAGS= -Wall
SRCS= indent.c io.c lexi.c parse.c comment.c args.c
OBJS= indent.o io.o lexi.o parse.o comment.o args.o
all: indent
indent: ${OBJS}
${CC} -o $@ ${CFLAGS} ${OBJS}
depend: ${SRCS}
mkdep ${CFLAGS} ${SRCS}
indent.o: indent.c globals.h proto.h codes.h
lexi.o: lexi.c globals.h proto.h codes.h
parse.o: parse.c globals.h proto.h codes.h
io.o: io.c globals.h proto.h
comment.o: comment.c globals.h proto.h
args.o: args.c globals.h proto.h